import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/Operator/Login',
    method: 'get',
    params: data
  })
}

export function logout() {
  return request({
    url: '/Operator/LogOut',
    method: 'get'
  })
}

// 重置密码
export function resetPassword(data) {
  return request({
    method: 'POST',
    url: '/Operator/ResetPassword',
    data
  })
}
